let reg1: RegExp = /wyc/i

let text:string = '2wyczainann'

let reg:boolean = reg1.test(text) 
console.log(reg1.test(text)) // true

let test2:string = 'w'
console.log(reg1.test(test2)) // false

console.log(reg1.exec(text)) // 返回了
